﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace AutorizacionViajesMVC.Models
{
    public class Usuarios
    {
        [Required(ErrorMessage = "Ingrese Codigo")]
        public int cod_usuario { get; set; }
        [Required(ErrorMessage = "Ingrese Nombres")]
        public string nom_usuario { get; set; }
        [Required(ErrorMessage = "Ingrese Apellidos")]
        public string ape_usuario { get; set; }
        [Required(ErrorMessage = "Ingrese Area")]
        public int area { get; set; }
        [Required(ErrorMessage = "Ingrese codgio General")]
        public string cod_g { get; set; }
        [Required(ErrorMessage = "Ingrese Centro de Costo")]
        public string c_costo { get; set; }
        [Required(ErrorMessage = "Ingrese DNI")]
        public string DNI { get; set; }
        [Required(ErrorMessage = "Ingrese Status")]
        public string Status { get; set; }
    }
}